import http from "@/utils/http";
//获取商品信息
export function getGood(data){
  return http({url:"/goods",data})
}
//获取商品推荐
export function getGoodTui(data){
  return http({url:`/goods/relevant`,data})
}
//加入购物车
export function addCart(data){
  return http({url:"/member/cart",data,method:"post"})
}